package com.zq.controller;

import com.zq.po.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {

    @GetMapping("/demo")
    public User demo(){
        User user = new User(1,"张三","男",26);
        return user;
    }
}
